micro_utils.dokka
0.11.13
jvm
micro_utils.dokka
/
dev.inmo.micro_utils.common
/
[jvm]dataOrThrow
data
Or
Throw
jvm
fun
<
T
>
Optional
<
T
>
.
dataOrThrow
(
throwable
:
Throwable
)
:
T
Content copied to clipboard
Returns
Optional.data
if
Optional.dataPresented
of
this
is true, or throw
throwable
otherwise